package mpcc.mpcc.activity.use_assistant;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import mpcc.mpcc.activity.MPCCActivity;
import mpcc.mpcc.activity.R;
import mpcc.mpcc.activity.safe_center.ChangePayPassActivity;
import mpcc.mpcc.base.BaseActivity;
import mpcc.mpcc.base.BaseInfo;

public class QuestionShowActivity extends BaseActivity {
	private EditText question;
	private EditText answer;

	private Button btnReturn;

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.helpsearchresult);
		question = (EditText) findViewById(R.id.question);
		answer = (EditText) findViewById(R.id.answer);
		btnReturn = (Button) findViewById(R.id.btnReturn);
		Bundle bundle = this.getIntent().getExtras();
		ArrayList<String> questionidlist = (ArrayList<String>) bundle
				.getSerializable("questionidlist");
		String requestCode = "26100002" + questionidlist.get(0)
				+ new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
		question.setText("");
		answer.setText("");
		addChangeActListener(btnReturn, QuestionShowActivity.this,
				SearchActivity.class);
	}
}
